package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter@Setter
public class RechargeBill {
    private Long id;

    private Member member;

    private Integer rekind;

    private Integer paykind;

    private BigDecimal amountbefore;

    private BigDecimal reamount;

    private BigDecimal giftamount;

    private BigDecimal amountafter;

    private String operator;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GTM+8")
    private Date time;

    private String remark;

}